package com.example.evil;

import android.app.Application;
import java.util.ArrayList;
import java.util.List;

public class EvilApplication extends Application{
    //存放已经被劫持的程序
    List<String> hijackedList = new ArrayList<String>();

    public boolean hasProgressBeHijacked(String processName) {
        return hijackedList.contains(processName);
    }

    public void addHijacked(String processName) {
        hijackedList.add(processName);
    }

    public void clearHijacked() {
        hijackedList.clear();
    }

}
